package com.yoomiito.app.widget.wheelview;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

/**
 * Created by Administrator on 2017/11/22 0022 09:11.
 */

public class Area implements Serializable{
    private String[] province;
    private List<Province> provinces;
    public static class Province implements Serializable{
        private String[] citys;
        private List<City> cities;

        public String[] getCitys() {
            return citys;
        }

        public void setCitys(String[] citys) {
            this.citys = citys;
        }

        public List<City> getCities() {
            return cities;
        }

        public void setCities(List<City> cities) {
            this.cities = cities;
        }

        @Override
        public String toString() {
            return "Province{" +
                    "citys=" + Arrays.toString(citys) +
                    ", cities=" + cities +
                    '}';
        }
    }
    public static class City implements Serializable{
        private String[] distracts;

        public String[] getDistracts() {
            return distracts;
        }

        public void setDistracts(String[] distracts) {
            this.distracts = distracts;
        }

        @Override
        public String toString() {
            return "City{" +
                    "distracts=" + Arrays.toString(distracts) +
                    '}';
        }
    }

    public String[] getProvince() {
        return province;
    }

    public void setProvince(String[] province) {
        this.province = province;
    }

    public List<Province> getProvinces() {
        return provinces;
    }

    public void setProvinces(List<Province> provinces) {
        this.provinces = provinces;
    }

    @Override
    public String toString() {
        return "Area{" +
                "province=" + Arrays.toString(province) +
                ", provinces=" + provinces +
                '}';
    }
}
